package com.dcivision.setup.web;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

import com.dcivision.framework.web.AbstractActionForm;

public abstract class AbstractActionPermissionForm extends AbstractActionForm {
  protected String allPermissionData = null;
  protected String userNoPermissionData = null;
  protected String groupNoPermissionData = null;
  protected String roleNoPermissionData = null;

  public AbstractActionPermissionForm() {
    super();
  }

  public String getAllPermissionData() {
    return(this.allPermissionData);
  }

  public void setAllPermissionData(String allPermissionData) {
    this.allPermissionData = allPermissionData;
  }

  public String getUserNoPermissionData() {
    return(this.userNoPermissionData);
  }

  public void setUserNoPermissionData(String userNoPermissionData) {
    this.userNoPermissionData = userNoPermissionData;
  }

  public String getGroupNoPermissionData() {
    return(this.groupNoPermissionData);
  }

  public void setGroupNoPermissionData(String groupNoPermissionData) {
    this.groupNoPermissionData = groupNoPermissionData;
  }

  public String getRoleNoPermissionData() {
    return(this.roleNoPermissionData);
  }

  public void setRoleNoPermissionData(String roleNoPermissionData) {
    this.roleNoPermissionData = roleNoPermissionData;
  }

  public void reset(ActionMapping mapping, HttpServletRequest request) {
    super.reset(mapping, request);
    this.setAllPermissionData(null);
    this.setUserNoPermissionData(null);
    this.setGroupNoPermissionData(null);
    this.setRoleNoPermissionData(null);
  }

}